package com.hnhy.hnhyscms_ws.dao;

import com.hnhy.hnhyscms_ws.entity.Suppliers;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ISuppliersDao {
    List<Suppliers> getAllSuppliers();
    Suppliers getBySupplierNo(@Param("supplierNo")String supplierNo);
    void deleteSuppliers(@Param("supplierNo")String supplierNo);
    void changeBySupplierNo(Suppliers Suppliers);
    void changeStatus(@Param("supplierNo")String supplierNo,@Param("status")Byte status);
    void addSuppliers(Suppliers suppliers);
    Suppliers findMaxId();
}
